//绑定银行卡cpf
export interface UserBindBankCardReq {
  receivingAccount: string; //收款人
  paymentMethod: string; //支付方式，例如：CPF/CNPJ/EMAIL/PHONE/EVP
}

export interface GetUserBankCardByUidRes {
  id: number;
  isSuccess: number;
  receivingAccount: string;
}
//提现
export interface GetUserBindBankCardReq extends UserBindBankCardReq {
  id: number;
}
//充值返回
export interface FxPayCreatOrderRes {
  status: number;
  payurl: string;
  error: string;
  code: number;
}
//充值请求
export interface FxPayCreatOrderReq {
  fxdesc: string; //充值说明
  fxfee: number; //价格
  fxpay: string; //充值的类型 支付宝扫码：alipay_scan，支付宝wap：alipay_wap ，微信扫码：wechat_scan
}
export interface Arraylist {
  rechargeAmounts: number[];
  giftConfigs: [];
}
export interface PaymentChannelListRes {
  id: number;
  paymentChannelName: string;
  paymentChannelType: number;
  sort: number;
  userWithdrawalMethod: string;
}
export interface PaymentOrderRes {
  code: number;
  msg: string;
  payUrl: string;
}
export interface PaymentOrderRq {
  currencyAmount: string;
  paymentChannelType: number;
  paymentMethod: string;
}
export interface PaymentInfoRes {
  cnpjId: string;
  cpfId: string;
  email: string;
  evp: string;
  name: string;
  phone: string;
}
export interface MethodResRes {
  bank: string;
  bankCode: [];
}
export interface PaymentMethodRes {
  rechargeBanks: MethodResRes[];
  withdrawBanks: MethodResRes[];
  rechargeMin: number;
  rechargeMax: number;
  withdrawMin: number;
  withdrawMax: number;
}
export interface EpayPaymentMethodsRes {
  paymentMethod: PaymentMethodRes;
}
export interface UserEpayBankCardListRes {
  createTime: number;
  id: number;
  openingBank: string;
  openingBankCode: string;
  openingName: string;
  receivingAccount: string;
}
